package net.gazhi.delonix.rbac.form;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 登录表单
 * 
 * @author Jeffrey Lin
 *
 */
public class LoginForm {

	@NotEmpty(message = "账号不能为空！")
	private String loginName;

	@NotEmpty(message = "密码不能为空！")
	@Length(max = 64, min = 64, message = "密码格式错误！")
	private String loginPasswd;

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPasswd() {
		return loginPasswd;
	}

	public void setLoginPasswd(String loginPasswd) {
		this.loginPasswd = loginPasswd;
	}

}
